from common.container_operate.container_status import get_product_list_by_container_mark, container_check


async def test_all():
    await test_get_product()
    await test_container_check()


async def test_get_product():
    product_list = await get_product_list_by_container_mark('TEST01')
    print(product_list)


async def test_container_check():
    status, err = await container_check('TEST01')
    print(status, err)
    status, err = await container_check('TEST023')  # 规则错误
    print(status, err)
    status, err = await container_check('TEST09')  # 规则错误
    print(status, err)